<template>
  <h1>{{ this.$config.name }}</h1>
  <button type="button" @click="geta">点我</button>
</template>

<script>
import axios from 'axios';
export default {
  name: 'HelloWorld',
  props: {
    msg: String
  },
  data() {
    return {
      count: 0,
    }
  },
  methods:{
	  geta: () => {
		axios.get("http://api.k780.com/?app=weather.today&weaid=1&appkey=10003&sign=b59bc3ef6191eb9f747dd4e83c99f2a4&format=json").then(function (res) {
			console.log(res)
		})
	  }
  }
  
}
</script>
